﻿
IF  EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[sproc_WA_GetMemo]') AND type in (N'P', N'PC'))
    DROP PROCEDURE [dbo].[sproc_WA_GetMemo];
GO
CREATE PROCEDURE [dbo].[sproc_WA_GetMemo]
	@id bigint,
	@result nvarchar(300) output
AS
BEGIN
SET NOCOUNT ON

select @result = memo from dbo.UDS_WorkAttendence_Memo where id = @id;

END
GO